#pragma once
#include "afxwin.h"
#include "ScanDrivesMessage.h"
#include "ImageButtonWithStyle.h"
// CWizard dialog

class CWizard : public CDialogEx
{
	DECLARE_DYNAMIC(CWizard)

public:
	CWizard(CWnd* pParent = NULL);   // standard constructor
	virtual ~CWizard();
	void EnableUI(BOOL bEnable);
	BOOL EnableWizardOK;
	BOOL m_FromButton;
// Dialog Data
	enum { IDD = IDD_DIALOG_WIZARD };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CImageButtonWithStyle  m_Bdrom;
	CImageButtonWithStyle  m_Data;
	CImageButtonWithStyle  m_Dvdvideo;
	CImageButtonWithStyle  m_Isowrite;
	CImageButtonWithStyle  m_Makeiso;
	CImageButtonWithStyle  m_Musiccd;
	CImageButtonWithStyle  m_Erase;
	CImageButtonWithStyle  m_Photo;
	CImageButtonWithStyle  m_RunWizard;
	CImageButtonWithStyle  m_MakeIsoFromDisc;
	CImageButtonWithStyle  m_MusiccdDAO;
	CImageButtonWithStyle  m_Help;
	
	int m_WizardMode;
private:
	HICON m_bdrom;
	HICON m_data;
	HICON m_dvdvideo;
	HICON m_isowrite;
	HICON m_makeiso;
	HICON m_musiccd;
	HICON m_photocd;
	HICON m_erase;
	HICON m_makeisofromdisc;
	HICON m_musiccddao;
	HICON m_help;

	CFont mFont;
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnClickedButtonData();
	afx_msg void OnClickedButtonBdrom();
	afx_msg void OnClickedButtonDvdvideo();
	afx_msg void OnClickedButtonIsowrite();
	afx_msg void OnClickedButtonMakeiso();
	afx_msg void OnClickedButtonMusiccd();
	afx_msg void OnClose();
	afx_msg void OnClickedButtonPhotocd();
	afx_msg void OnClickedButtonErase();
	afx_msg void OnClickedCheckRunwizard();
	afx_msg void OnClickedButtonMakeisofromcd();
	afx_msg void OnClickedButtonMusiccdGapless();
	afx_msg void OnClickedHelpbutton();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	
	BOOL m_visible;

	CScanDrivesMessage* scanDlg;

	void SetFonts();
	void SetIcons();
	afx_msg void OnWindowPosChanging(WINDOWPOS* lpwndpos);
};
